package com.zdp.middleware.ratelimiter.valve;

import com.zdp.middleware.ratelimiter.annotation.DoRateLimiter;
import org.aspectj.lang.ProceedingJoinPoint;

import java.lang.reflect.Method;

/**
 * 该接口代理 要执行的切面方法
 * @author ZhengDp
 * @Date 2023/5/27 15:33
 */
public interface IValveService {

    Object access(ProceedingJoinPoint jp, Method method, DoRateLimiter doRateLimiter, Object[] args) throws Throwable;

}
